package db;

/**
 *
 * @author Mads Nielsen <k4emic@gmail.com>
 */
public interface IObjectDAO {
    
    public boolean insert(Object object);
    public boolean update(Object object);
    public boolean delete(Object object);
    public Object[] findAll(String where, Object ... params);
    public Object findOne(String where, Object ... params);
    public Object findByPK(Object pk);
    
}
